<template>
    <div>
        <van-nav-bar title="我的" />
        <van-card :title="xr.name">
            <template #thumb>
                <van-image round width="100%" height="100%" :src="xr.src"/>
            </template>
        </van-card>
        <van-cell title="我的订单" is-link to="/home/myorder" />
        <van-cell title="我的支付" is-link />
        <van-cell title="我的收藏" is-link />
        <van-cell title="我的地址" is-link />
        <van-cell title="我的反馈" is-link />
    </div>
</template>

<script setup>
import { ref } from 'vue'

let username=localStorage.getItem('username')
let xr=ref({
    name:username,
    src:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'
})

</script>

<style lang="scss" scoped></style>